{* Smarty *}
{include file="header.tpl" title="Register" loggedin="$Loggedin"}
<div class="divMainContent" id="divRegister">
<p>&nbsp;<br>
<form action="{$SCRIPT_NAME}?action=adduser" method="post">
<table class="tableMainContent" id="tableRegister">

{if $error ne ""}
  <tr>
    <td bgcolor="yellow" colspan="2">
      There has been one or more errors. Please check your data and try again.
    </td>
  </tr>
{/if}

<tr>
  <td>Username:</td>
  <td><input type="text" name="username" value="{$post.username|escape}"></td>
</tr>
<tr>
  <td>Password:</td>
  <td><input type="password" name="password" value=""></td>
</tr>
<tr>
  <td>Email Address:</td>
  <td><input type="text" name="email" value="{$post.email|escape}"></td>
</tr>
<tr>
  <td>AIM:</td>
  <td><input type="text" name="aim" value="{$post.aim|escape}"></td>
</tr>
<tr>
  <td>MSN:</td>
  <td><input type="text" name="msn" value="{$post.msn|escape}"></td>
</tr>
<tr>
  <td>IRC:</td>
  <td><input type="text" name="irc" value="{$post.irc|escape}"></td>
</tr>
<tr>
  <td>ICQ:</td>
  <td><input type="text" name="icq" value="{$post.icq|escape}"></td>
</tr>
<tr>
  <td colspan="2" align="center">
    <input type="submit" value="Register">
  </tr>
</tr>

</table>

</form>
</div>
{include file="footer.tpl"}
